Skip to content

[UR] [L0 v2] Enable wait lists and signal events for command buffer in L0 adapter v2 #18456

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 8 commits into
base: sycl
Choose a base branch
from

Conversation

Xewar313
Copy link
Contributor

Truncated PR #18442. The mutable signal event and wait list functionality has been removed, since it is not used by SYCL and does not seem to be working properly.

@Xewar313 Xewar313 requested review from a team as code owners May 14, 2025 08:45
@Xewar313 Xewar313 requested a review from fabiomestre May 14, 2025 08:45
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 08:46 — with GitHub Actions Inactive
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 09:06 — with GitHub Actions Inactive
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 09:06 — with GitHub Actions Inactive
@Xewar313 Xewar313 force-pushed the enable-waitlist-and-signal-bare branch from 741adb4 to 5a2beb0 Compare May 14, 2025 09:20
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 09:21 — with GitHub Actions Inactive
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 09:50 — with GitHub Actions Inactive
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 10:12 — with GitHub Actions Inactive
@Xewar313 Xewar313 temporarily deployed to WindowsCILock May 14, 2025 10:12 — with GitHub Actions Inactive
@EwanC
Copy link
Contributor

EwanC commented May 14, 2025

Truncated PR #18442. The mutable signal event and wait list functionality has been removed, since it is not used by SYCL and does not seem to be working properly.

To clarify this, the functionality added in this PR of exposing wait and signal events also isn't exposed in SYCL yet. It's not only updating signal/wait events of commands that isn't exposed.

@@ -232,6 +237,14 @@ ur_result_t urEventRelease(ur_event_handle_t hEvent) try {
ur_result_t urEventWait(uint32_t numEvents,
const ur_event_handle_t *phEventWaitList) try {
for (uint32_t i = 0; i < numEvents; ++i) {
if (!phEventWaitList[i]->getIsEventInUse()) {
// TODO: This is a workaround for the underlying inconsistency
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeating comment from the original PR: can't we manually signal the events to put them in a proper state?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants